package com.jiangyg.mall.db.hibernate.mapper;

import java.io.Serializable;

/**
 * 类描述：SQL实体
 * 
 * @author jiangyg
 * @date 2019-10-20
 * @version 2.0
 */
public class SQLObject implements Serializable {

	private static final long serialVersionUID = -1794149989242604758L;

	/**
	 * SQL命名
	 */
	private String name;

	/**
	 * SQL字符串
	 */
	private String sqlStr;

	public SQLObject(String name, String sqlStr) {
		this.name = name;
		this.sqlStr = sqlStr;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSqlStr() {
		return sqlStr;
	}

	public void setSqlStr(String sqlStr) {
		this.sqlStr = sqlStr;
	}

	@Override
	public String toString() {
		return "SQLObject [name=" + name + ", sqlStr=" + sqlStr + "]";
	}

}
